home *** CD-ROM | disk | FTP | other *** search
/ CD Actual 3 / CD ACTUAL 3.iso / linux / system / win3.000 / Win3.1_dosemu.HOWTO
Encoding:
Text File  |  1995-05-13  |  11.1 KB  |  462 lines

  1. NOTE:This is a file I obtained with information.
  2. I heavily modified it, and left credits at the end.
  3. I deleted a lot.  Either because I didn't think it applied any longer or
  4. I thought it was recursion.
  5. Most Stuff I added I put a "**" next to
  6.  
  7. And Note:
  8. I don't believe the dosemu team encourages win 3.1 use yet, so it is
  9. ALPHA I have had "hardly" any problems, your milage may vary.
  10. Please don't bug the dosemu team.
  11. mail comments,additions, or changes to
  12. robh@indy.net
  13.  
  14. NOTE:It also seems this will be a big deal to try to get it turned into a FAQ.
  15. I will try to get it done, or if the DOSEMU-Howto maintainer sees this, you
  16. have full right to use the info.  This info is now in the GPL.
  17.  
  18.  
  19. OK - here's what I did to get Win 3.1 running with:
  20. dosemu 0.60.1
  21. GCC 2.6.2
  22. Linux 1.2.8
  23.  
  24.                         Win3.1_Dosemu.HOWTO v1.0
  25. ------------------------------------------------------------------------------
  26. BASIC SUMMARY ................................................................
  27. Step by Step instructions to follow...........................................
  28. ------------------------------------------------------------------------------
  29. - patch the kernel with dpmi/kernel.diff
  30. - recompile the kernel.
  31. - recompile dosemu
  32. - reboot with the new kernel, and run the new dosemu
  33. - run dpmi/winemu.bat
  34.  
  35. ------------------------------------------------------------------------------
  36. Step by step instructions.....................................................
  37. ------------------------------------------------------------------------------
  38. 1) Get and install dosemu 0.60.1 which is located at tsx-11.mit.edu in
  39.    /pub/linux/ALPHA/dosemu/ as dosemu0.60.1.tgz : Put that file in /usr/src
  40.    Then uncompress(tar xzf dosemu0.60.1.tgz).
  41. 2) Move the "kernel.diff" to /usr/src/linux.  
  42. 3) Apply that patch.....I believe 'cat kernel.diff | patch -p0' will do
  43. 4) Recompile kernel
  44. 5) Recompile Dosemu
  45. 6) Get and unzip the os2win31.zip file. There is a readme file included that
  46.    tells you what must be put where; some files go into \windows, others
  47.    into \windows\system.  This file is located in 
  48.    /pub/linux/ALPHA/dosemu/Development at tsx-11.mit.edu
  49.    Note that it was necessary to rename OS2GDI.EXE and OS2USER.EXE to GDI.EXE
  50.    and USER.EXE respectively.  Be sure that you move your existing Win31 files
  51.    of those names to a safe place before doing so!  I _think_ that it is
  52.    possible to avoid the need for renaming by adding the following to
  53.    SYSTEM.INI, but I haven't tried it:
  54.  
  55.    [boot]
  56.    ..
  57.    os2gdi.exe=os2gdi.exe
  58.    os2user.exe=os2user.exe
  59.  
  60.  
  61. 7) Modify your SYSTEM.INI to eliminate any and all drivers that aren't
  62.    absolutely necessary.  There are two sys files attached at bottom for
  63.    reference, but the portions dealing with the video drivers will almost
  64.    certainly need to be modified for your machine.
  65.    change the mouse driver line to 
  66.    
  67.    mouse=mouse.drv 
  68.    
  69.    (this driver comes with the os2win31 archive).
  70.    I tried using my normal mouse driver - Logitech ver. 6.34 - but
  71.    this does not work.
  72. ** I did the same on my system, but I believe it worked with the old driver.
  73. ** mouse use seems flaky on my system.  It works fine when it works, but I
  74. ** sometimes have leave/restart windows a couple times.
  75.  
  76. 8) Edit the winemu.bat file from /usr/src/dosemu/dpmi, if you have
  77.    Windows in another directory than c:\windows.
  78. ** Basically what winemu.bat does is make sure you are at the windows dir
  79. ** and then runs system/os2k386.exe
  80. 9) Copy winemu.bat to your windows dir, if you want to use it.(It will help
  81.    with debugging if things don't go right.  It makes a bootlog file)
  82. 10) Modify your /etc/dosemu.conf file change the mem settings as such
  83.     dpmi xxxx where xxxx is some reasonably large number (I use 16384). 
  84.     Do _not_ use more than 64k of XMS, and don't use EMS at all.
  85.     ** I will be looking into this......
  86. 11) Start Windows using the winemu.bat file.
  87. ** Do not change Virtual Consoles!!!  If you do, you will probably mess up
  88.    your video display.  But you can still shut down with ctrl-alt-del 
  89.    don't hit reset, unless things are really locked up.
  90. 12) For some reason, the Program Manager came up with NO program groups
  91.    defined. The group files were still there; I could just add them
  92.    all back in.
  93. ** The reason for this is that(I may have this backwards) windows by itself
  94. ** puts all the groups in system.ini under [Groups] and os2k386.exe for
  95. ** some reason decides to look into progman.ini for the groups.  Remember I
  96. ** may have that switched... 
  97.  
  98. 13) If you cannot get the program manager to work corectly, try changing your
  99.     "shell" in system.ini to 
  100.    
  101.    shell=SOL.EXE  
  102.  
  103. ------------------------------------------------------------------------------
  104. [boot]
  105. ;Note my system.ini has paths on everything... I don't like
  106. ;MS's idea of throwing everything into c:\windows  YUK!
  107. 386grabber=AVGA.3GR
  108. oemfonts.fon=d:\windows\system\fonts\VGAOEM.FON
  109. fixedfon.fon=d:\windows\system\fonts\VGAFIX.FON
  110. fonts.fon=d:\windows\system\fonts\VGASYS.FON
  111. display.drv=d:\windows\system\video\256_1280.DRV
  112. mouse.drv=d:\windows\system\mouse.drv
  113. shell=progman.exe
  114. network.drv=
  115. ;language.dll=
  116. ;sound.drv=sound.drv
  117. ;comm.drv=comm.drv
  118. system.drv=system.drv
  119. keyboard.drv=keyboard.drv
  120. taskman.exe=c:\windows\BTM\BTMTASK.EXE
  121. ;drivers=mmsystem.dll
  122. speaker.drv=speaker.drv
  123. SCRNSAVE.EXE=(None)
  124.  
  125. [keyboard]
  126. subtype=
  127. type=4
  128. keyboard.dll=
  129. oemansi.bin=
  130.  
  131. [boot.description]
  132. aspect=100,96,96
  133. display.drv=GD5426/28 v1.43, 800x600x256
  134. mouse.drv=mouse.drv
  135. keyboard.typ=Enhanced 101 or 102 key US and Non US keyboards
  136. language.dll=English (American)
  137. system.drv=MS-DOS System
  138. codepage=437
  139. woafont.fon=English (437)
  140. network.drv=No Network Installed
  141. secondnet.drv=No Additional Network Installed
  142.  
  143. [386Enh]
  144. display=VDD542X.386
  145. EGA80WOA.FON=d:\windows\system\fonts\EGA80WOA.FON
  146. EGA40WOA.FON=d:\windows\system\fonts\EGA40WOA.FON
  147. CGA80WOA.FON=d:\windows\system\fonts\CGA80WOA.FON
  148. CGA40WOA.FON=d:\windows\system\fonts\CGA40WOA.FON
  149. SysVMIn2ndBank=FALSE
  150. mouse=*vmd
  151. device=*vpd
  152. woafont=dosapp.fon
  153. device=vtdapi.386
  154. device=vshare.386
  155. ebios=*ebios
  156. 32BitDiskAccess=off
  157. device=*int13
  158. device=*wdctrl
  159. keyboard=*vkd
  160. network=*dosnet,*vnetbios
  161. netheapsize=16
  162. device=*vcd
  163. device=*vpicd
  164. device=*vtd
  165. device=*reboot
  166. device=*vdmad
  167. device=*vsd
  168. device=*v86mmgr
  169. device=*pageswap
  170. device=*dosmgr
  171. device=*vmpoll
  172. device=*wshell
  173. device=*PAGEFILE
  174. device=*BLOCKDEV
  175. device=*vfd
  176. device=*parity
  177. device=*biosxlat
  178. device=*vmcpd
  179. device=*combuff
  180. device=*cdpscsi
  181. device=vpmtd.386
  182. device=vcomm.386
  183. device=serial.386
  184. device=lpt.386
  185. device=ifsmgr.386
  186. device=vcache.386
  187. local=CON
  188. FileSysChange=off
  189. COM3Irq=4
  190. COM3Base=03E8
  191. COM4Irq=3
  192. COM4Base=02E8
  193. MinTimeslice=20
  194. WinTimeslice=100,50
  195. WinExclusive=0
  196. Com1AutoAssign=2
  197. Com2AutoAssign=2
  198. Com3AutoAssign=-1
  199. LPT1AutoAssign=60
  200. COM2Irq=3
  201. COM2Base=02F8
  202. Com4AutoAssign=0
  203. Paging=0
  204.  
  205. [NonWindowsApp]
  206. localtsrs=dosedit,ced
  207. CommandEnvSize=1024
  208.  
  209. [vcache]
  210. minfilecache=4096
  211.  
  212. [mci]
  213. ;CDAudio=mcicda.drv
  214. ;Sequencer=mciseq.drv
  215. ;WaveAudio=mciwave.drv
  216. ;MCIMPEG=MCIMPEG.DRV
  217. ;AVIMPEG=AVIMPEG.DRV
  218.  
  219. [drivers]
  220. ;midimapper=midimap.drv
  221. timer=timer.drv
  222. ;MCIMPEG=MCIMPEG.DRV
  223. ;XMPG_AVI=XMPG_AVI.DRV
  224. ;VIDC.XMPG=XMPG_AVI.DRV
  225.  
  226. [DDEShares]
  227. ;CHAT$=winchat,chat,,31,,0,,0,0,0
  228. ;SCHAT$=winchat,chat,,31,,0,,0,0,0
  229. ;CLPBK$=clipsrv,system,,31,,0,,0,0,0
  230. ;HEARTS$=mshearts,hearts,,15,,0,,0,0,0
  231.  
  232. [Network]
  233. winnet=nonet
  234. multinet=nonet
  235. FileSharing=No
  236. PrintSharing=No
  237.  
  238. [network drivers]
  239. ;devdir=C:\WINDOWS
  240. ;LoadRMDrivers=No
  241.  
  242. [speaker.drv]
  243. ;CPU Speed=41
  244. ;Volume=800
  245. ;Version=774
  246. ;Enhanced=1
  247. ;Max seconds=9999
  248. ;Leave interrupts enabled=0
  249.  
  250. [CLVGA]
  251. dpi=96
  252. videomode=92
  253.  
  254. [mouse]
  255. MouseType=SERIAL1
  256.  
  257. [Settings]
  258. display.drv=d:\windows\system\video\256_1280.DRV
  259. Order=4 1 2 3
  260. Window=3 6 796 595 1
  261. dir1=0,0,638,325,-1,-1,1,0,201,1905,212,D:\WINDOWS\*.*
  262.  
  263. [Groups]
  264. Group1=D:\WINDOWS\STARTUP.GRP
  265. Group2=D:\WINDOWS\MAIN.GRP
  266. Group3=D:\WINDOWS\APPLICAT.GRP
  267. Group4=D:\WINDOWS\GAMES.GRP
  268. [Scheduler]
  269. ButtonStyle=838
  270. StatusBar=1
  271. Hide=0
  272.  
  273. [MS Works]
  274. Version=20003
  275. Show3dDialogs=1
  276. AlternateCursors=1
  277. ShowToolbar=1
  278. DoWelcome=0
  279.  
  280. [Word Processor]
  281. ReturnAddress1=
  282. ReturnAddress2=
  283. ReturnAddress3=
  284. ReturnAddress4=
  285. ReturnAddress5=
  286.  
  287. [Recent File List]
  288. File1=
  289. File2=
  290. File3=
  291. File4=
  292. File5=
  293. File6=
  294. File7=
  295. File8=
  296. DBFile1=
  297. DBFile2=
  298. DBFile3=
  299. DBFile4=
  300. DBFile5=
  301. DBFile6=
  302. DBFile7=
  303. DBFile8=
  304. CMFile1=
  305. CMFile2=
  306. CMFile3=
  307. CMFile4=
  308. CMFile5=
  309. CMFile6=
  310. CMFile7=
  311. CMFile8=
  312. CMLongFile1=
  313. CMLongFile2=
  314. CMLongFile3=
  315. CMLongFile4=
  316. CMLongFile5=
  317. CMLongFile6=
  318. CMLongFile7=
  319. CMLongFile8=
  320. ------------------------------------------------------------------------------
  321. ;Note that disk accesses under Windows will absolutely bring me down in a
  322. ;flash without the VirtualHDIrq setting found below!
  323.  
  324. [boot]
  325. 386grabber=vgadib.3gr
  326. oemfonts.fon=vgaoem.fon
  327. 286grabber=vgacolor.2gr
  328. fixedfon.fon=vgafix.fon
  329. fonts.fon=vgasys.fon
  330. display.drv=svga256.drv
  331. shell=sol.exe
  332. ;mouse.drv=lmouse.drv
  333. mouse.drv=mouse.drv
  334. network.drv=
  335. language.dll=
  336. ;sound.drv=mmsound.drv
  337. ;comm.drv=comm.drv
  338. keyboard.drv=keyboard.drv
  339. system.drv=system.drv
  340. ;drivers=mmsystem.dll
  341. [keyboard]
  342. subtype=
  343. type=4
  344. keyboard.dll=
  345. oemansi.bin=
  346.  
  347. [boot.description]
  348. aspect=100,96,96
  349. display.drv=Super VGA 1024x768 256 colors Small Fonts
  350. keyboard.typ=Enhanced 101 or 102 key US and Non US keyboards
  351. ;mouse.drv=Logitech
  352. mouse.drv=mouse.drv
  353. network.drv=No Network Installed
  354. language.dll=English (American)
  355. system.drv=MS-DOS System
  356. codepage=437
  357. woafont.fon=English (437)
  358.  
  359. [386Enh]
  360. EMMExclude=C800-EFFF
  361. VirtualHDIrq=off
  362. LocalReboot=off
  363. display=vddsvga.386
  364. EGA80WOA.FON=EGA80WOA.FON
  365. EGA40WOA.FON=EGA40WOA.FON
  366. CGA80WOA.FON=CGA80WOA.FON
  367. CGA40WOA.FON=CGA40WOA.FON
  368. SysVMIn2ndBank=FALSE
  369. SystemROMBreakPoint=false
  370. mouse=lvmd.386
  371. network=*dosnet,*vnetbios
  372. ebios=*ebios
  373. woafont=dosapp.fon
  374. keyboard=*vkd
  375. device=vtdapi.386
  376. device=*vpicd
  377. device=vtda.386
  378. device=*reboot
  379. device=*vdmad
  380. device=*vsd
  381. device=*v86mmgr
  382. device=*pageswap
  383. device=*dosmgr
  384. device=*vmpoll
  385. device=*wshell
  386. device=*BLOCKDEV
  387. device=*PAGEFILE
  388. device=*vfd
  389. device=*parity
  390. device=*biosxlat
  391. device=*vcd
  392. device=*vmcpd
  393. device=*combuff
  394. device=*cdpscsi
  395. local=CON
  396. FileSysChange=off
  397. Paging=0
  398. MinTimeslice=100
  399. WinTimeslice=100,50
  400. WinExclusive=0
  401.  
  402. [standard]
  403.  
  404. [NonWindowsApp]
  405. localtsrs=dosedit,ced
  406.  
  407. [mci]
  408. ;WaveAudio=mciwave.drv
  409. ;Sequencer=mciseq.drv
  410. ;CDAudio=mcicda.drv
  411.  
  412. [drivers]
  413. timer=timer.drv
  414. ;midimapper=midimap.drv
  415.  
  416. [LogiMouse]
  417. Type=Serial
  418. Model=MouseMan
  419. Port=1
  420. DragLock=None
  421.  
  422. [svga256.drv]
  423. dpi=96
  424. resolution=3
  425. svgamode=56
  426. ChipSet=Tseng ET4000
  427. LatchCapable=Yes
  428.  
  429. [Settings]
  430. display.drv=svga256.drv
  431. Window=4 0 1020 696 1
  432.  
  433. [Solitaire]
  434. Back=11
  435. ---------------------------------------------------------------------------
  436.                          CREDITS
  437. ---------------------------------------------------------------------------
  438.  Information has been obtained:
  439.  
  440.      From: Henrik Storner <storner@osiris.ping.dk>
  441.      Date: Sat, 25 Mar 1995 09:27:42 +0100 (MET)
  442.  
  443.      From: Wayne Meissner <n1046128@student.fit.qut.edu.au>
  444.      Date: Tue, 28 Mar 1995 12:30:56 +1000 (EST)
  445.    
  446.    
  447.      From: Greg Turner <gregt@interaccess.com>
  448.      Date: Tue, 28 Mar 1995 01:53:46 -0500 (EST)
  449.      
  450.      From: J. Lawrence Stephan
  451.      Date: On Mon, 27 Mar 1995
  452.        
  453.      From: jlarry@ssnet.com (J. Lawrence Stephan)
  454.      Date: Mon, 27 Mar 1995 00:17:50 -0500 (EST)
  455.       
  456.      From: jlarry@ssnet.com (J. Lawrence Stephan)
  457.      Date: Mon, 27 Mar 1995 00:17:50 -0500 (EST)
  458.         
  459.      Date: Mon, 27 Mar 1995 20:12:28 -0500 (EST)
  460.      From: "Steven N. Hirsch" <hirsch@emba.uvm.edu>
  461.           
  462.